import request from '../untils/request'
import axios from 'axios'
//注册
export const userRegisterService = (username: string, email: string, password: string): Object => {
    return request.post('/api/register', { username,  email,password });
};

export const userLoginService =(username: string, password: string): Object => {
    return request.post('/api/login', { username, password })
}
export const Recommend = async () =>{
    let {data} = await axios.get(`https://apis.netstart.cn/xmsc/miproduct/recom_btm?commodity_id=14834`)
    return data

}